#include "function.h"
#include "mainwindow.h"
#include "ui_mainwindow.h"


Function::Function(QImage image) {
    initialImage = image;
    lastImage = image;
    finalImage = image;
}

//图形变换————放大
QImage Function::expandPicture() {
    lastImage = finalImage;

}

QImage Function::shrinkPicture(QImage *image) {
    lastImage = finalImage;
    for(int i = 0; )
}


QImage Function::revolvePicture(QImage *image) {

}

//滤波
QImage Function::squarePicture(QImage *image) {

}


QImage Function::midPicture(QImage *image) {

}


QImage Function::gaosiPicture(QImage *image) {

}


QImage Function::sidesPicture(QImage *image) {

}


QImage Function::averagePicture(QImage *image) {

}

//涂鸦
QImage Function::strawPicture(QImage *image) {

}


QImage Function::bucketPicture(QImage *image) {

}


QImage Function::paintPicture(QImage *image) {

}

//其他
QImage Function::scissorsPicture(QImage *image) {

}


QImage Function::jigsawPicture(QImage *image) {

}


QImage Function::textPicture(QImage *image) {

}

